package com.thf.gulimall.product.fegin;

import com.thf.gulimall.product.entity.vo.SkuHasStockVo;
import com.thf.gulimall.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimall-ware")

public interface WareFeignService {
    @PostMapping(value = "/ware/waresku/hasStock")
    R<List<SkuHasStockVo>> getSkuHasStock(@RequestBody List<Long> skuIds);
}
